-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to psalm 5 #37390
Update to psalm 5 #37390
Conversation
6b88d85
to
47e897d
Compare
0da5bdd
to
f752b68
Compare
*/ | ||
public function setAvailability($available) { | ||
public function setAvailability($isAvailable) { |
Check notice
Code scanning / Psalm
MissingReturnType
apps/user_ldap/lib/Access.php
Outdated
@@ -354,7 +354,7 @@ | |||
return @$this->invokeLDAPMethod('exopPasswd', $userDN, '', $password) || | |||
@$this->invokeLDAPMethod('modReplace', $userDN, $password); | |||
} catch (ConstraintViolationException $e) { | |||
throw new HintException('Password change rejected.', \OC::$server->getL10N('user_ldap')->t('Password change rejected. Hint: ') . $e->getMessage(), (int)$e->getCode()); | |||
throw new HintException('Password change rejected.', \OC::$server->getL10N('user_ldap')->t('Password change rejected. Hint: ') . $e->getMessage(), $e->getCode()); |
Check notice
Code scanning / Psalm
DeprecatedMethod
f752b68
to
4adfc63
Compare
9bc45e9
to
c7ec317
Compare
@@ -99,7 +99,7 @@ | |||
|
|||
// Create a new job and store the creation date | |||
$this->jobList->add(ResetTokenBackgroundJob::class); | |||
$this->config->setAppValue('core', 'updater.secret.created', $this->timeFactory->getTime()); | |||
$this->config->setAppValue('core', 'updater.secret.created', (string)$this->timeFactory->getTime()); |
Check notice
Code scanning / Psalm
DeprecatedMethod
c7ec317
to
3f969f7
Compare
d634595
to
0be733b
Compare
0be733b
to
c2a289e
Compare
I already tried fixing a lot of the new found issues, but it's getting out of hand. What I did now is just ignore all the new errors so that we can finally have psalm 5. |
No idea what the failing security analysis means, the output by psalm seems to be incorrect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Yeah I filed an issue at vimeo/psalm#9712, I hope it gets fixed soon. |
Signed-off-by: jld3103 <[email protected]>
c2a289e
to
9fddbea
Compare
Summary
Checklist